package com.codedancer.campus.manager.api.updateLog.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(value = "更新日志添加或修改Ro")
public class UpdateLogAddOrUpdateRo {

    @ApiModelProperty("更新版本")
    @NotNull(message = "更新版本不能为空")
    private String version;

    @ApiModelProperty(value = "更新内容")
    @NotNull(message = "更新内容不能为空")
    private List<String> contents;
}
